package cn.kkcxy.blog.core.vo.client.archive;

import cn.kkcxy.blog.core.vo.client.archive.tag.ClientArticleTagsInfoVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @BelongsProject: kkcxy-blog
 * @BelongsPackage: cn.kkcxy.blog.core.bo
 * @Author: kkcxy
 * @CreateTime: 2024-09-18 02:48
 * @Description: 客户端文章归档BO
 * @Version: 1.0
 */
@Data
@Schema(description = "客户端文章BO")
public class ClientArticleVO implements Serializable {

    @Schema(description = "文章ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "是否锁定 0:未锁定 1:已锁定")
    private Integer locked;

    @Schema(description = "文章封面")
    private String cover;

    @Schema(description = "文章发布日期")
    private String date;

    @Schema(description = "所属分类")
    private String category;

    @Schema(description = "文章标签列表")
    private List<ClientArticleTagsInfoVO> tags;
}
